//
//  ZoomScrollView.h
//  Qianbancaifu
//
//  Created by SYLH on 16/1/11.
//  Copyright © 2016年 SYLH. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FullScreenImage.h"

@protocol ZoomScrollViewDelegate <NSObject>

@optional
-(void)dragShowImageViewWithDragValue:(double)value;
-(void)loosenShowImageView;
-(void)fastDragShowImageViewWithRect:(CGRect)rect transValue:(double)transValue;

@end

@interface ZoomScrollView : UIView<UIScrollViewDelegate>

@property (nonatomic,strong)UIScrollView * scrollView;

@property (nonatomic,strong)UIImageView * imgView;

@property (nonatomic,strong)FullScreenImage * imageModel;

@property (nonatomic,assign)id <ZoomScrollViewDelegate> delegate;


- (instancetype)initWithFrame:(CGRect)frame;

-(void)startLoadingAnimation;

-(void)stopLoadingAnimation;

@end
